import itertools
list1 = [1,2,3,4]
list2 = []
for i in range (1,5):
    iter = itertools.combinations(list1,3)
    list2.append(list(iter))
print(list2,"共",len(list2),"个")
